package com.zclever.kstarwar.vo;

/**
 * 消息实体类
 * @author zclever
 * @email 304078606@qq.com
 * @date 2019/8/7
 */
public class Message {

    private User user;
    private int toUid;
    private int type;
    private Object content;

    public Message() {
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getToUid() {
        return toUid;
    }

    public void setToUid(int toUid) {
        this.toUid = toUid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Object getContent() {
        return content;
    }

    public void setContent(Object content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Message{" +
                "user=" + user +
                ", toUid=" + toUid +
                ", type=" + type +
                ", content='" + content + '\'' +
                '}';
    }
}
